#include "DBCommon.h"
#include "base/core/com_define.h"
#include "base/core/hash.h"

unsigned CalcUserHashID(const std::string& str) 
{
    return BKDRHashForString32Bit(str.c_str()) % USER_HASH_ID_MOD;
}
